package com.gorkr.test.service;

import com.gorkr.test.pojo.Hotel;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author gorkr
 * @title: EsRepository
 * @projectName demo
 * @description: TODO
 * @date 2022/4/722:56
 */
public interface EsRepository extends CrudRepository<Hotel,String>{
    List<Hotel> findByTitleLike(String title);

}